Skip to content

Domoticz

322 Topics 2.3k Posts
  • mysensors on rpi with NRF2401 with Domoticz

    raspberry pi
    18
    0 Votes
    18 Posts
    133 Views
    dirkjuD
    @goblin feel free to share concrete error messages or questions. We might be able to help on well-described problems. Otherwise - hope ChatGPT can help you ;-)
  • [SOLVED] MySensors Raspberry Pi Gateway + Domotics Controller

    23
    0 Votes
    23 Posts
    187 Views
    EmeE
    @zookazim so sorry I haven't been on here in years. I actually left the IoT nodes for a while. I was running into so many issues. To answer your question... not sure if it's still required or even relevant.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    13 Views
    No one has replied
  • S_GAS, send and request problem

    1
    0 Votes
    1 Posts
    17 Views
    No one has replied
  • Node update on value from Domoticz

    2
    0 Votes
    2 Posts
    24 Views
    zboblamontZ
    @zboblamont OK, so experiments concluded that the return data from the latest version of Domoticz is a String whether it be V_VARx or V_TEXT. I tried the dual declaration using the same CHILD_ID as intended and as VAR_X (using an RF24 - not sure of the relevance) and the actual value sent but failed to make any sense of abstracting the Ulong conversion or the string. Only by presenting a fresh CHILD_ID and duplicating the send of data (water meter) as a V_VAR1 could I recover the last sent reading as a V_VAR1 from that fresh CHILD_ID, thence eventually arriving at 'strtoul' as a solution to restoring the last known value. For clarity my Gateway and Controller run on a UPS, and I hope shortly to add the spare router to that UPS so I'm not left in the dark on what is happening in the dark on a battery powered laptop... Hope this helps others trying to keep track of meters between relentless power cuts and reboots...
  • domoticz tables and mysensors

    1
    0 Votes
    1 Posts
    27 Views
    No one has replied
  • Calculate Delta T of two temperature sensors with lua

    temperature
    1
    0 Votes
    1 Posts
    14 Views
    No one has replied
  • Roller shutter(s_cover) on Domoticz

    8
    1
    0 Votes
    8 Posts
    928 Views
    K
    Someone know if it is problem with Domoticz or MySensors?
  • Questions about an old setup

    5
    1
    0 Votes
    5 Posts
    74 Views
    E
    @dbemowsk I'm sorry, I really don't know. I've never tried domoticz, not to mention any of its plugins. I do have Alexa working with my system, but I don't like it, just because of sending recorded voice out of the house all the time. So I plan to replace it once I get time to get Rhasspy going, assuming that I can get it going well enough. Alexa works very well with home assistant. Though we use a service that costs $5/month to be the cloud piece to interact with the Alexa service so that I don't have to get something standalone working here for that. Though I think that service is really only for integrating to home assistant, so it probably wouldn't do you any good. It's saved me a bunch of time, and as I want to use my time to replace the whole thing with Rhasspy, it's been worth it to me. But part of the reason I mention all of that is that with a quick search, it looks like controlicz is a similar service. Although they do say that you need to add the skill to your Alexa account. That would be annoying to me - doesn't that mean you need to say something like "Alexa, ask controlicz to turn on the kitchen light" or whatever?? With Nabu Casa, it also just uses the built-in smart home skill, so you don't have to install anything extra, leaving those extra words out each time. After the 10th time of having to do it I bet I'd really be gritting my teeth!
  • Trying to automate in Domoticz

    4
    0 Votes
    4 Posts
    41 Views
    M
    the problem is "if (switch.state == 'On') then" that not works, write: if (switch.active) then or if (switch.inActive) then Device attributes and methods for all devices
  • eventsystem: problem writing file

    2
    0 Votes
    2 Posts
    18 Views
    bazzokaB
    Save the script directly from Windows and test if it can be opened in Domoticz.
  • Blockley in Domoticz-not working correctly. Anyone know how to fix.... ?

    3
    0 Votes
    3 Posts
    34 Views
    John TolJ
    @Bren Did you set you script to "on"?
  • How to get the bad status (red) for Temperature Node

    5
    1
    0 Votes
    5 Posts
    64 Views
    giangiredG
    Thanks everyone for the answers. However what I would like to do is create a routine with Dzvents that when I have the "red" indication (as shown in the image) causes a switch to operate which cuts the voltage to a device. The value of ".lastUpdate.minutesAgo" seems not to be the right solution because it continues to be increased in any case, regardless of the temperature value and the status of the "red" or normal indication.
  • help please

    4
    0 Votes
    4 Posts
    82 Views
    E
    @mutantx, sorry for the late reply, but I was on holidays :-) I've no experience with this sketch code, nor the hardware build of this mp3 player. Try to contact the author of this player or you can check the general documentation about the use of V_VARx / S_CUSTOM : https://www.mysensors.org/download/serial_api_20 Try to break up things in little pieces when accumulating knowledge about mysensors. Big complicated sketches can be overwhelming. I start always, when troubleshouting, with the cleanest version of the script, with minimum code required for operation. And then I build it up.
  • Removed childs not being recognised again

    4
    0 Votes
    4 Posts
    57 Views
    I
    Restarting domoticz might help next time, when you have original code running on that node again. Also some PIR cause radio interference, if i remember correctly, then hc sr501 should be ok.
  • Rasbberry pi domoticz + arduino nano connection problem

    mysensors
    2
    0 Votes
    2 Posts
    34 Views
    W
    @WiktorDIY The ch340 are notorious for being broken. The best I ever achieved was 19200 and flakey.. I purchased a real Nano not a ch knock off eg uses a different uart no problems
  • MT681 - Energy Meter

    2
    1
    0 Votes
    2 Posts
    43 Views
    mfalkviddM
    The F things is for Flash. It is optional, but saves ram. Detailed information at http://www.gammon.com.au/progmem For RSSI, take a look at https://github.com/mfalkvidd/Arduino-MySensors-ESP8266-RFM69-Gateway/blob/master/Arduino-MySensors-ESP8266-RFM69-Gateway.ino#L109 I don't know about the children stuff.
  • Raspberry Pi 4B, Ethernet gateway, RFM95 - no sensor nodes found

    Moved
    7
    0 Votes
    7 Posts
    78 Views
    N
    @Yveaux In Ethernet gateway mode, resetting sensor nodes didin't help. Not sure it's Domoticz, because the same Pi with the same radio plugged into an Arduino in serial gateway mode produces lines like below for all sensor nodes, without even resetting anything: cat /dev/ttyUSB0 0;255;3;0;9;241037 TSF:MSG:READ,20-20-0,s=7,c=1,t=0,pt=7,l=5,sg=0:24.4 20;7;1;0;0;24.4 0;255;3;0;9;241135 TSF:MSG:READ,20-20-0,s=8,c=1,t=1,pt=7,l=5,sg=0:46.1 20;8;1;0;1;46.1 0;255;3;0;9;241229 TSF:MSG:READ,20-20-0,s=255,c=3,t=0,pt=1,l=1,sg=0:93 0;255;3;0;9;241236 TSF:MSG:ACK REQ
  • 0 Votes
    2 Posts
    32 Views
    MichalM
    @AterMentis said in Advanced combination script (OneWire+DHT+Relays) over serial usb to Pi runnung domoticz - HELP with timing and group ID: // Register all sensors to gw (they will be created as child devices) present(CHILD_ID_TEMP1, S_TEMP); present(CHILD_ID_HUM1, S_HUM); present(CHILD_ID_TEMP2, S_TEMP); present(CHILD_ID_HUM2, S_HUM); present(CHILD_ID_TEMP3, S_TEMP); present(CHILD_ID_HUM3, S_HUM); Did you find a solution ? On other topic you can find a posible solution: Change order of reporting/presenting devices: // Register all sensors to gw (they will be created as child devices) present(CHILD_ID_TEMP1, S_TEMP); present(CHILD_ID_TEMP2, S_TEMP); present(CHILD_ID_TEMP3, S_TEMP); present(CHILD_ID_HUM1, S_HUM); present(CHILD_ID_HUM2, S_HUM); present(CHILD_ID_HUM3, S_HUM);
  • Pressure sensor and input trough optocoupler

    arduino
    4
    0 Votes
    4 Posts
    40 Views
    zboblamontZ
    @Olaf-Jacobs It's a straight analogue read on a single ADC pin relative to Vcc and ground of the Arduino Node. In my case it's a pro-mini, the ADC pin in this example earlier defined as "Pressure", the result radioed in only if the ADC reading has changed. Three other binary inputs for contactors are polled every second on separate digital pins (one of which is pin 3), which uses all 4 pins available on this pro-mini due to the radio etc. if ((!hidro&&!Hidro&&(counter2>=132))||initialise){ int incoming=analogRead(Pressure); if (prevolume!=incoming){ prevolume=incoming; sleep(50); float tankvolume=(((incoming-102.3)*6.704199635)+0.5);//5psi sensor send(msg8.set(tankvolume,0));//This is actual volume sleep(100); }} I'm not clear on the rest of what you're trying to incorporate or what pin 3 (digital interrupt) has to do with it, the pressure sensor signal goes to an analogue pin to enable the voltage to be read.

16

Online

11.7k

Users

11.2k

Topics

113.1k

Posts